﻿namespace Lite.Net
{
    using System;
    using Lite.Common;
    
    public interface ISession
        : IDisposable, IStartHalt
    {
        void Close();
        event EventHandler ConnectionDropped;
        event EventHandler<DataBufferEventArgs> DataReceived;
        void Write(byte[] data);
    }
}
